package com.gym.Reflection;

public class Parson {
	private String name;
	private int age;
	public Parson(String name,Integer age) {
		this.name = name;
		this.age = age;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	@Override
	public String toString() {
		String resault = "姓名："+this.name+"年龄"+this.age;
		return resault;
	}
	private void doStatic(){
		System.err.println("你调用了静态方法！");
	}
}
